package com.huatech.common.annotation;

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Inherited;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * 枚举属性注解，用于页面显示、导出等
 * 举例：
 	public class SystemConfig {
		@EnumField(json="{ 1:启用, 0:未启用 }")
		private int status;
		...	
	}
 * 
 */
@Target(ElementType.FIELD)
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Inherited
public @interface EnumField {

	String json();
	
}
